package com.huangmb.anymark.app.fragment;

import android.support.v7.app.ActionBar;
import android.widget.ProgressBar;
import com.huangmb.androidlib.fragment.BaseFragment;
import com.huangmb.anymark.app.activity.base.AppBaseActivity;

/**
 * @author hmb
 * @version 1.0
 * @since 2016/4/16 14:12
 */
public class AppBaseFragment extends BaseFragment {

    public AppBaseActivity getAppBaseActivity(){
        return (AppBaseActivity)getActivity();
    }
    public ActionBar getActionBar(){
        return ((AppBaseActivity)getActivity()).getSupportActionBar();
    }
    public ProgressBar getProgressbar(){
        return getAppBaseActivity().getProgressBar();
    }
}
